package models;

import java.util.Date;

import javax.persistence.Entity;

import common.annotation.UI_Field;
import play.db.jpa.Model;

@Entity
public class Admin extends _Model {
	
	@UI_Field( showName="名称",compnent="input" )
	public String nickName ;
	@UI_Field( showName="手机",compnent="input" )
	public String phone ;
	@UI_Field( showName="密码",compnent="input" )
	public String password ;
	
	public Admin() {}
	public Admin( String nickName, String phone, String password) {
		this.nickName = nickName ;
		this.phone = phone ;
		this.password = password ;
	}
	
}
